how to remove item from array by value javascript